package com.yidu.best.bond.cashArap.controller;

import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import com.yidu.best.bond.cashArap.domain.CashArapVo;
import com.yidu.best.bond.cashArap.service.CashArapService;

@Controller
@RequestMapping("/Bond/")
public class CashArapController {
	
	@Autowired
	private CashArapService cashArapService;
	
	@RequestMapping("getCashArap")
	public String getCashArap() {
		return "bond/inventory/cashArap";
	}
	@ResponseBody
	@RequestMapping(value = "CashArap" , method = RequestMethod.GET)
	public Map<String,Object> findPageQuery(CashArapVo cashArapVo){
		Map<String,Object> map = cashArapService.findPageQuery(cashArapVo);
		return map;
	}
}
